<style>
    .form-readonly {
        pointer-events: none;
    }
</style>
<div class="row m-n">
    <div class="crumbs-bar">
        <div yb-crumbs></div>
    </div>
    <div tabset type="tab">
        <!-- 1、页面一：列表页 -->
        <div tab heading="开票申请维护" active="activeFlag[0]" ng-click="changeTab(0)">
            <div class="row wrapper-y-sm">
                <div class="operate-bar col-xs-4 font-0">
                    <button class="btn btn-operate m-r-sm" ng-click="addCheck()"
                        ng-disabled="!btnPermission.makeOutInvoiceAdd">新建</button>
                    <button class="btn btn-operate m-r-sm" ng-click="batchDel()"
                        ng-disabled="!btnPermission.makeOutInvoiceAdd">删除</button>
                </div>
                <div class="search-bar wrapper-none col-xs-8">
                    <div class="btn-group m-l-xs pull-right">
                        <button type="button" class="btn btn-default base-color" ng-click="search()" title="刷新">
                            <i class="yb-icon ico-refresh"></i>
                        </button>
                        <button type="button" class="btn btn-default base-color" title="配置表格列"
                            ng-click="switchToolbar('ColConfig')">
                            <i class="yb-icon ico-set"></i>
                        </button>
                        <div class="btn btn-default base-color" ng-if="!!btnPermission.makeOutInvoiceExport">
                            <div title="导出">
                                <i class="yb-icon ico-export-o"></i>
                            </div>
                            <ul class="more-tool">
                                <li yb-download download-url="exportParam.sectionUrl"
                                    download-param="exportParam.sectionParam" download-key="ids">
                                    <i class="yb-icon ico-export-o"></i> 导出
                                </li>
                                <li yb-download download-url="exportParam.allUrl" download-param="condition" download-duration="3">
                                    <i class="yb-icon ico-export-o"></i> 导出全部
                                </li>
                            </ul>
                        </div>
                    </div>
                    <button class="btn-advance pull-right m-l-xs" ng-click="switchToolbar('AdvanceSearch')">高级搜索
                    </button>
                    <div class="input-group pull-right clearfix">
                        <input type="text" class="form-control txt-search" placeholder="发票编号"
                            ng-model="condition.invoiceNo">
                        <span class="input-group-addon cursor-pointer" ng-click="search(1)">搜索</span>
                    </div>
                </div>
                <div yb-advance-search show-toolbar="toolbarConfig.showAdvanceSearch" search-data="search(1)"
                    reset-data="reset()">
                    <div class="advance-search m-t-sm">
                        <div class="form-group clearfix">
                            <label class="control-label">发票编号：</label>
                            <textarea type="text" ng-model="condition.invoiceNos" class="form-control"
                                      translate translate-attr-placeholder="逗号分隔或者换行分隔"
                            ></textarea>
                        </div>
                        <div class="form-group clearfix">
                            <label class="control-label">纸质发票号：</label>
                            <input type="text" ng-model="condition.paperInvoiceNo" class="form-control">
                        </div>
                        <div class="form-group clearfix m-b-none">
                            <label class="control-label">创建时间：</label>
                            <input type="text" class="form-control date-picker" ng-model="condition.startCreateTime"
                                datepicker-popup="{{'yyyy-MM-dd'}}"
                                ng-click="showDateStartCreateTime = !showDateStartCreateTime"
                                ng-change="checkDate(condition, 'startCreateTime', 'endCreateTime')"
                                is-open="showDateStartCreateTime" close-text="关闭" modal-size="small" readonly>
                        </div>
                        <div class="form-group clearfix m-b-none">
                            <label class="control-label"></label>
                            <label class="control-label wave-line">~</label>
                        </div>
                        <div class="form-group clearfix">
                            <label class="control-label"></label>
                            <input type="text" class="form-control date-picker" ng-model="condition.endCreateTime"
                                datepicker-popup="{{'yyyy-MM-dd'}}"
                                ng-click="showDateEndCreateTime = !showDateEndCreateTime"
                                ng-change="checkDate(condition, 'startCreateTime', 'endCreateTime')"
                                is-open="showDateEndCreateTime" close-text="关闭" modal-size="small" readonly>
                        </div>
                        <div class="form-group clearfix m-b-none">
                            <label class="control-label">完成时间：</label>
                            <input type="text" class="form-control date-picker" ng-model="condition.startFinishTime"
                                datepicker-popup="{{'yyyy-MM-dd'}}"
                                ng-click="showDateStartFinishTime = !showDateStartFinishTime"
                                ng-change="checkDate(condition, 'startFinishTime', 'endFinishTime')"
                                is-open="showDateStartFinishTime" close-text="关闭" modal-size="small" readonly>
                        </div>
                        <div class="form-group clearfix m-b-none">
                            <label class="control-label"></label>
                            <label class="control-label wave-line">~</label>
                        </div>
                        <div class="form-group clearfix">
                            <label class="control-label"></label>
                            <input type="text" class="form-control date-picker" ng-model="condition.endFinishTime"
                                datepicker-popup="{{'yyyy-MM-dd'}}"
                                ng-click="showDateEndFinishTime = !showDateEndFinishTime"
                                ng-change="checkDate(condition, 'startFinishTime', 'endFinishTime')"
                                is-open="showDateEndFinishTime" close-text="关闭" modal-size="small" readonly>
                        </div>
                        <div class="form-group clearfix">
                            <label class="control-label">创建人：</label>
                            <input type="text" ng-model="condition.createName" class="form-control">
                        </div>
                        <div class="form-group clearfix">
                            <label class="control-label">客户名称：</label>
                            <input type="text" ng-model="condition.customerName" class="form-control">
                        </div>
                    </div>
                </div>
            </div>
            <div yb-col-config show-toolbar="toolbarConfig.showColConfig" ng-model="tableConfig" col-fixed="false"
                has-check-col="true"></div>
            <div class="main-area">
                <div yb-table-fixed class="table-fixed-wrap">
                    <div class="th-scroll-x">
                        <table class="table-fixed border-none" width="{{tableConfig.scrollWidth}}">
                            <thead>
                                <tr>
                                    <th width="40" class="text-center th-check border-l-none">
                                        <div yb-check-box yb-checked="markInfo.allChecked" yb-click="selectAll()"></div>
                                    </th>
                                    <th width="400" class="text-center th-check border-l-none">
                                        操作
                                    </th>
                                    <th ng-repeat="itemCol in tableConfig.tableCol track by $index"
                                        width="{{itemCol.width}}" ng-click="toSort(tableConfig.tableCol, $index)"
                                        ng-show="!!itemCol.isShow">
                                        <div yb-thead-operate ng-model="itemCol" target-width="tableConfig.scrollWidth">
                                        </div>
                                    </th>
                                </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="dataList.length > 0">
                        <table class="table-fixed border-none" width="{{tableConfig.scrollWidth}}">
                            <tbody>
                                <tr ng-repeat="item in dataList track by $index"
                                    ng-class="{'row-selected': $index === markInfo.curRow}"
                                    ng-click="selectRow($index)">
                                    <td width="40" class="text-center border-l-none">
                                        <div yb-check-box yb-checked="item.isChecked" yb-click="selectSingle(item)">
                                        </div>
                                    </td>
                                    <td width="400">
                                       <!--
                                        编辑：  非草稿（已提交、已完成） 禁点
                                        一级审核：非提交（草稿、已完成） 或者 一级审核通过  禁点
                                        二级审核：非提交（草稿、已完成） 或者 一级审核没通过 或者 二级审核成功  禁点
                                        删除：一级审核通过 禁点
                                        完成：二级审核没通过 或者 已完成 禁点
                                        -->
                                        <button type="button" class="btn btn-operate"
                                            ng-if="btnPermission.makeOutInvoiceEdit"
                                            ng-disabled="item.status !== 0 && item.oneLevelAuditStatus != 2"
                                            title="{{!btnPermission.makeOutInvoiceEdit ?'无权限执行此操作':''}}"
                                            ng-click="edit(item, $index)">编辑</button>
                                        <button type="button" class="btn btn-operate"
                                            ng-if="btnPermission.makeOutInvoiceAuditOne"
                                            ng-disabled="item.oneLevelAuditStatus == 1 || item.status == 0"
                                            title="{{!btnPermission.makeOutInvoiceAuditOne?'无权限执行此操作':''}}"
                                            ng-click="audit(item,'one')">一级审核</button>
                                        <button type="button" class="btn btn-operate"
                                            ng-if="btnPermission.makeOutInvoiceAuditTwo"
                                            ng-disabled="item.oneLevelAuditStatus != 1 || item.twoLevelAuditStatus == 1 || item.status == 0"
                                            title="{{!btnPermission.makeOutInvoiceAuditTwo?'无权限执行此操作':''}}"
                                            ng-click="audit(item,'two')">二级审核</button>
                                        <button type="button" class="btn btn-operate"
                                            ng-if="btnPermission.makeOutInvoicePrint"
                                            ng-click="printBill(item)">打印</button>
                                        <button type="button" class="btn btn-operate"
                                            ng-if="btnPermission.makeOutInvoiceDelete"
                                            ng-disabled="(!isNJ && item.oneLevelAuditStatus == 1) || (isNJ && item.status == 2)"
                                            title="{{!btnPermission.makeOutInvoiceDelete?'无权限执行此操作':''}}"
                                            ng-click="delInvoice(item.id)">删除</button>
                                        <!-- 农机特殊定制：只有完成的才会置灰 -->
                                        <button type="button" class="btn btn-operate"
                                            ng-if="btnPermission.makeOutInvoiceFinish"
                                            ng-disabled="(!isNJ && item.twoLevelAuditStatus != 1) || item.status == 2"
                                            ng-click="finish(item, $index)">完成</button>
                                        <button type="button" class="btn btn-operate"
                                            ng-if="btnPermission.auditRepalOneBtn"
                                            ng-disabled="item.oneLevelAuditStatus != 1 || item.twoLevelAuditStatus == 1 || item.status == 0"
                                            ng-click="auditRepal(item, 'one')">一级审核撤销</button>
                                            <!-- 随车特殊定制：二级审核在已完成时可以点击 -->
                                        <button type="button" class="btn btn-operate"
                                            ng-if="btnPermission.auditRepalTwoBtn"
                                            ng-disabled="item.twoLevelAuditStatus != 1 || item.status == 0 || (!isSCH && item.status == 2)"
                                            ng-click="auditRepal(item, 'two')">二级审核撤销</button>
                                    </td>
                                    <td class="spill-dots" ng-repeat="itemCol in tableConfig.tableCol track by $index"
                                        width="{{itemCol.width}}" ng-show="!!itemCol.isShow"
                                        title="{{item[itemCol.dataField]}}">
                                        <span ng-switch="itemCol.type">
                                            <span ng-switch-when="click">
                                                <a class="btn-operate m-r-xs" ng-click="tdClick(item, itemCol.clickFn)">
                                                    {{item[itemCol.dataField]}}
                                                </a>
                                            </span>
                                            <span ng-switch-default>
                                                <span>{{item[itemCol.dataField]}}</span>
                                            </span>
                                        </span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="dataList.length === 0">暂时没有数据</div>
                </div>
            </div>
            <div class="bottom-area page-bar wrapper-y-sm clearfix">
                <div yb-page-info ng-model="pageInfo" yb-refresh="search()"></div>
            </div>
        </div>


        <!-- 2、页面二：新增、编辑、详情页面 -->
        <div tab heading="{{activeTitle}}" active="showDetail" ng-if="showDetail">
            <div class="pos-a-full shuttle-box left" style="right: 65%;top: 35px;">
                <div class="box-head clearfix">
                    <span class="font-14">
                        开票信息
                    </span>
                </div>
                <div class="pos-a-full box-body has-head has-foot border-t">
                    <form name="makeOutInvoiceForm" class="main-wrap form-horizontal form-up-tb p-t clearfix" novalidate ng-class="{'form-readonly':activeFlag[3]}">
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label"><i>*</i>客户名称：</label>
                            <div class="col-xs-8 wrapper-none">
                                <input type="text" name="customerName" class="form-control light-bg"
                                    ng-model="orderObj.customerName" ng-click="selectDealer()" required yb-focus
                                    readonly placeholder="请选择">
                                <div class="msg-block"
                                    ng-show="makeOutInvoiceForm.customerName.$dirty || (makeOutInvoiceForm.customerName.$invalid && submitted)">
                                    <div class="error-msg"
                                        ng-if="makeOutInvoiceForm.customerName.$error.required && !makeOutInvoiceForm.customerName.focused">
                                        <div class="msg-triangle"></div>
                                        必填项，请填写
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">开票金额：</label>
                            <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                                {{orderObj.amount}}
                            </label>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label"><i>*</i>是否需要发票：</label>
                            <div class="col-xs-8 control-label p-l-n text-left">
                                <input type="radio" class="m-r-md pull-left" yb-radio ng-model="orderObj.needFlag"
                                    value="1" yb-radio-name="是">
                                <input type="radio" class="m-r-md pull-left" yb-radio ng-model="orderObj.needFlag"
                                    value="0" yb-radio-name="否">
                            </div>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">纸质发票号：</label>
                            <div class="col-xs-8 wrapper-none">
                                <input type="text" name="paperInvoiceNo" class="form-control"
                                    ng-model="orderObj.paperInvoiceNo" maxlength="200">
                            </div>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">快递单号：</label>
                            <div class="col-xs-8 wrapper-none">
                                <input type="text" name="trackingNo" class="form-control" ng-model="orderObj.trackingNo"
                                    maxlength="200">
                            </div>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">联系电话：</label>
                            <div class="col-xs-8 wrapper-none">
                                <input type="text" name="phone" class="form-control" ng-model="orderObj.phone" yb-mobile
                                    yb-focus maxlength="11">
                                <div
                                    ng-show="makeOutInvoiceForm.phone.$dirty || (makeOutInvoiceForm.phone.$invalid&&submitted)">
                                    <div class="error-msg"
                                        ng-show="makeOutInvoiceForm.phone.$error.mobile && !makeOutInvoiceForm.phone.focused">
                                        <i class="yb-icon ico-times-circular"></i>手机号格式错误
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">代表处：</label>
                            <div class="col-xs-8 wrapper-none">
                                <input type="text" class="form-control" ng-model="orderObj.delegatePacle"
                                    maxlength="200">
                            </div>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">付款方式：</label>
                            <div class="col-xs-8 wrapper-none">
                                <select ng-model="orderObj.payType" class="form-control"
                                    ng-options="item.id as item.name for item in payTypeList">
                                    <option value="">请选择</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">发票要求：</label>
                            <div class="col-xs-8 wrapper-none">
                                <textarea class="form-control" ng-model="orderObj.invoiceRequire" maxlength="500" style="height: auto;"></textarea>
                            </div>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">经手服务人员：</label>
                            <div class="col-xs-8 wrapper-none">
                                <input type="text" class="form-control" ng-model="orderObj.handlingServiceName"
                                    maxlength="200">
                            </div>
                        </div>
                        <div ng-if="isNJ">
                            <div class="form-group col-xs-12">
                                <label class="col-xs-3 control-label"><i>*</i><span>付款类型</span>：</label>
                                <div class="col-xs-8 wrapper-none">
                                    <div name="fklx" dealer-dictionary-selector sel-key="Payment_Type" ng-model="orderObj.paymentType" required>
                                        <input type="text" class="form-control light-bg" ng-model="orderObj.paymentType" placeholder="请选择" readonly yb-focus>
                                        <div class="msg-block" ng-if="makeOutInvoiceForm.fklx.$dirty || (makeOutInvoiceForm.fklx.$invalid && submitted)">
                                            <div class="error-msg" ng-if="makeOutInvoiceForm.fklx.$error.required && !makeOutInvoiceForm.fklx.focused">
                                                <div class="msg-triangle"></div>
                                                <span>必填项，请填写</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group col-xs-12">
                                <label class="col-xs-3 control-label"><i>*</i><span>运费结算</span>：</label>
                                <div class="col-xs-8 wrapper-none">
                                    <div name="yfjs" dealer-dictionary-selector sel-key="Freight_Settlement" ng-model="orderObj.freightSettlement" required>
                                        <input type="text" class="form-control light-bg" ng-model="orderObj.freightSettlement" placeholder="请选择" readonly yb-focus>
                                        <div class="msg-block" ng-if="makeOutInvoiceForm.yfjs.$dirty || (makeOutInvoiceForm.yfjs.$invalid && submitted)">
                                            <div class="error-msg" ng-if="makeOutInvoiceForm.yfjs.$error.required && !makeOutInvoiceForm.yfjs.focused">
                                                <div class="msg-triangle"></div>
                                                <span>必填项，请填写</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group col-xs-12">
                                <label class="col-xs-3 control-label"><i>*</i><span>票据类型</span>：</label>
                                <div class="col-xs-8 wrapper-none">
                                    <div name="pjlx" dealer-dictionary-selector sel-key="Bill_Type" ng-model="orderObj.billType" required>
                                        <input type="text" class="form-control light-bg" ng-model="orderObj.billType" placeholder="请选择" readonly yb-focus>
                                        <div class="msg-block" ng-if="makeOutInvoiceForm.pjlx.$dirty || (makeOutInvoiceForm.pjlx.$invalid && submitted)">
                                            <div class="error-msg" ng-if="makeOutInvoiceForm.pjlx.$error.required && !makeOutInvoiceForm.pjlx.focused">
                                                <div class="msg-triangle"></div>
                                                <span>必填项，请填写</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group col-xs-12">
                                <label class="col-xs-3 control-label"><i>*</i><span>邮寄地址</span>：</label>
                                <div class="col-xs-8 wrapper-none">
                                    <input type="text" class="form-control" name="yjdzh" ng-model="orderObj.postAdr" maxlength="50" required>
                                    <div class="msg-block" ng-if="makeOutInvoiceForm.yjdzh.$dirty || (makeOutInvoiceForm.yjdzh.$invalid && submitted)">
                                        <div class="error-msg" ng-if="makeOutInvoiceForm.yjdzh.$error.required && !makeOutInvoiceForm.yjdzh.focused">
                                            <div class="msg-triangle"></div>
                                            <span>必填项，请填写</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="bottom-area btn-bar text-center border-t clearfix" ng-if="!activeFlag[3]">
                    <button type="button" class="btn btn-primary m-r-sm" ng-if="!orderObj.status||orderObj.status===0"
                        ng-click="saveData(makeOutInvoiceForm.$valid,0)">保存
                    </button>
                    <button type="button" class="btn btn-default"
                        ng-click="saveData(makeOutInvoiceForm.$valid,1)">提交
                    </button>
                </div>
            </div>
            <div class="pos-a-full shuttle-box right" style="left: 35%;top: 35px;bottom: 10px">
                <div class="box-head clearfix">
                    <span class="font-14">
                        开票明细
                    </span>
                </div>
                <!-- <div class="box-head clearfix">
                    <span class="font-14">
                        已选单据：
                    </span>
                    <span class="font-14">
                        已选单据：
                    </span>
                    <span class="font-14">
                        已选单据：
                    </span>
                </div> -->
                <div class="main-area">
                    <div yb-table-fixed class="table-fixed-wrap" style="top: 15px;left: 0">
                        <div class="th-scroll-x">
                            <table class="table-fixed border-none" width="{{addTableInfo.tableConfig.scrollWidth}}">
                                <thead>
                                    <tr>
                                        <th width="40" class="text-center th-check border-l-none"
                                            ng-if="!(activeFlag[3]||orderObj.status===1||orderObj.status===2)">
                                            <div yb-check-box yb-checked="addTableInfo.markInfo.allChecked"
                                                yb-disabled="orderObj.settleType" yb-click="addTableInfo.selectAll()">
                                            </div>
                                        </th>
                                        <th ng-repeat="itemCol in addTableInfo.tableConfig.tableCol track by $index"
                                            width="{{itemCol.width}}"
                                            ng-click="addTableInfo.toSort(addTableInfo.tableConfig.tableCol, $index)"
                                            ng-show="!!itemCol.isShow">
                                            <div yb-thead-operate ng-model="itemCol"
                                                target-width="addTableInfo.tableConfig.scrollWidth"></div>
                                        </th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                        <div class="td-scroll" ng-show="addTableInfo.dataList.length > 0">
                            <table class="table-fixed border-none" width="{{addTableInfo.tableConfig.scrollWidth}}">
                                <tbody>
                                    <tr ng-repeat="item in addTableInfo.dataList track by $index"
                                        ng-class="{'row-selected': $index === addTableInfo.markInfo.curRow}"
                                        ng-click="addTableInfo.selectRow($index)">
                                        <td width="40" class="text-center border-l-none"
                                            ng-if="!(activeFlag[3]||orderObj.status===1||orderObj.status===2)">
                                            <div yb-check-box yb-checked="item.isChecked"
                                                yb-disabled="orderObj.settleType"
                                                yb-click="addTableInfo.selectSingle(item)"></div>
                                        </td>
                                        <td class="spill-dots"
                                            ng-repeat="itemCol in addTableInfo.tableConfig.tableCol track by $index"
                                            width="{{itemCol.width}}" ng-show="!!itemCol.isShow"
                                            title="{{item[itemCol.dataField]}}">
                                            {{item[itemCol.dataField]}}
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="no-data w-full text-center p-t" ng-show="addTableInfo.dataList.length === 0">
                            暂时没有数据
                        </div>
                    </div>
                </div>
                <div class="bottom-area page-bar wrapper-y-sm clearfix" ng-if="!hideAddPage">
                    <div yb-page-info ng-model="addPageInfo" yb-refresh="addPageSearch()" page-size-options="[10, 20, 30, 40, 50, 100, 200, 500]"></div>
                </div>
            </div>
        </div>

        <!-- 3、页面三：审核页面 -->
        <div tab heading="{{activeTitle}}" active="showAuditDetail" ng-if="showAuditDetail">
            <div class="pos-a-full shuttle-box left" style="right: 65%;top: 35px;">
                <div class="box-head clearfix">
                    <span class="font-14">
                        开票信息
                    </span>
                </div>
                <div class="pos-a-full box-body has-head has-foot border-t">
                    <form name="makeOutInvoiceForm" class="main-wrap form-horizontal form-up-tb p-t clearfix" novalidate
                        ng-class="{'form-readonly':activeFlag[3]}">
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">客户名称：</label>
                            <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                                {{orderObj.customerName}}
                            </label>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">开票金额：</label>
                            <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                                {{orderObj.amount}}
                            </label>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label"><i>*</i>是否需要发票：</label>
                            <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                                {{orderObj.needFlagF}}
                            </label>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">纸质发票号：</label>
                            <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                                {{orderObj.paperInvoiceNo}}
                            </label>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">快递单号：</label>
                            <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                                {{orderObj.trackingNo}}
                            </label>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">联系电话：</label>
                            <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                                {{orderObj.phone}}
                            </label>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">代表处：</label>
                            <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                                {{orderObj.delegatePacle}}
                            </label>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">付款方式：</label>
                            <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                                {{orderObj.payTypeF}}
                            </label>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">发票要求：</label>
                            <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                                {{orderObj.invoiceRequire}}
                            </label>
                        </div>
                        <div class="form-group col-xs-12">
                            <label class="col-xs-3 control-label">经手服务人员：</label>
                            <label class="col-xs-8 control-label p-l-n text-left spill-dots">
                                {{orderObj.handlingServiceName}}
                            </label>
                        </div>
                    </form>
                </div>
                <div class="bottom-area btn-bar text-center border-t clearfix" ng-if="!activeFlag[3]">
                    <button type="button" class="btn btn-primary m-r-sm"
                        ng-click="auditInvoice('pass', orderObj.id, orderObj.auditOpinion)">审核通过
                    </button>
                    <button type="button" class="btn btn-default"
                        ng-click="auditInvoice('refuse', orderObj.id, orderObj.auditOpinion)">审核拒绝</button> </div>
            </div>
            <div class="pos-a-full shuttle-box right" style="left: 35%;top: 35px;bottom: 10px">
                <div class="box-head clearfix">
                    <span class="font-14">
                        开票明细
                    </span>
                </div>
                <div class="main-area">
                    <div yb-table-fixed class="table-fixed-wrap" style="top: 15px;left: 0">
                        <div class="th-scroll-x">
                            <table class="table-fixed border-none" width="{{addTableInfo.tableConfig.scrollWidth}}">
                                <thead>
                                    <tr>
                                        <!-- wangcan:修改待审核状态的数据也不能勾选 -->
                                        <th width="40" class="text-center th-check border-l-none"
                                            ng-if="!(activeFlag[3]||orderObj.status===1||orderObj.status===2||orderObj.status===0)">
                                            <div yb-check-box yb-checked="addTableInfo.markInfo.allChecked"
                                                yb-disabled="orderObj.settleType" yb-click="addTableInfo.selectAll()">
                                            </div>
                                        </th>
                                        <th ng-repeat="itemCol in addTableInfo.tableConfig.tableCol track by $index"
                                            width="{{itemCol.width}}"
                                            ng-click="addTableInfo.toSort(addTableInfo.tableConfig.tableCol, $index)"
                                            ng-show="!!itemCol.isShow">
                                            <div yb-thead-operate ng-model="itemCol"
                                                target-width="addTableInfo.tableConfig.scrollWidth"></div>
                                        </th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                        <div class="td-scroll" ng-show="addTableInfo.dataList.length > 0">
                            <table class="table-fixed border-none" width="{{addTableInfo.tableConfig.scrollWidth}}">
                                <tbody>
                                    <tr ng-repeat="item in addTableInfo.dataList track by $index"
                                        ng-class="{'row-selected': $index === addTableInfo.markInfo.curRow}"
                                        ng-click="addTableInfo.selectRow($index)">
                                        <!-- wangcan:修改待审核状态的数据也不能勾选 -->
                                        <td width="40" class="text-center border-l-none"
                                            ng-if="!(activeFlag[3]||orderObj.status===1||orderObj.status===2||orderObj.status===0)">
                                            <div yb-check-box yb-checked="item.isChecked"
                                                yb-disabled="orderObj.settleType"
                                                yb-click="addTableInfo.selectSingle(item)"></div>
                                        </td>
                                        <td class="spill-dots"
                                            ng-repeat="itemCol in addTableInfo.tableConfig.tableCol track by $index"
                                            width="{{itemCol.width}}" ng-show="!!itemCol.isShow"
                                            title="{{item[itemCol.dataField]}}">
                                            {{item[itemCol.dataField]}}
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="no-data w-full text-center p-t" ng-show="addTableInfo.dataList.length === 0">
                            暂时没有数据
                        </div>
                    </div>
                </div>
                <div class="bottom-area page-bar wrapper-y-sm clearfix" ng-if="!hideAddPage">
                    <div yb-page-info ng-model="addPageInfo" yb-refresh="addPageSearch()"></div>
                </div>
            </div>
        </div>
    </div>
</div>
